Volumetric Setup panel

These buttons let you replace essential components of the file after deleting them. If you have nuked your FRELLED.blend file, this panel should let you recreate everything you need.


The first row of buttons deals with creating the image planes (sometimes referred to as "blanks") which are used for displaying the slices of the data. You *should* have deleted these already before trying to replace them - they will not be automatically removed if present; ideally, save the file and close/reopen a few times to ensure everything is fully remove from memory. 

"Create blanks" operates differently depending on the viewing mode. In the default 3D viewing mode, it will create the number of blanks as described below. In 2D mode it will ignore this number and create the single blank needed for each projection. 
IMPORTANT : Note that this ONLY operates on one mode at a time; in 3D mode it doesn't set up the 2D blanks, and vice-versa. You'll need to switch viewing modes manually for this. If you're working with an empty file, when switching modes you may see errors because certain objects normally required for the background scripts are not found. You can ignore these and proceed with the manual setup to restore them.


The default FRELLED file comes with 1,500 image planes along each projection, i.e. 9,000 total : two sets per projection, since two are needed to allow forward and reverse viewing angles. This number has been carefully found through trial and error to strike a balance between creation speed, data volume display capability, and performance. 
In practise, the number of blanks corresponds to the maximum size of the data set FRELLED can display in terms of pixel size along its largest axis. If your cube has more than 1,500 channels or pixels along any side, the default behaviour is to delete the existing blanks and recreate them with the exact number required. This can be extremely slow (see below), so if you're regularly using larger files, it may be worthwhile to manually alter the master FRELLED.blend file to a better number.

Note that creation speed is NOT negligible, as Blender is not well optimised for dealing with large numbers of objects. For this reason the default setting of the number slider is 500. The time requirement is non-linear. For comparision, on the development system, 500 blanks takes 2 minutes to create, whereas 1500 takes ~30 minutes. This is why the override toggle must be enabled if the value is set above 1,000, to prevent the user from accidentally getting stuck with a process that might take much longer than they expect.

The hard maximum value the slider can take is one million. This is absurdly higher than anything remotely feasible on the largest system, since this is largely a limitation of Blender itself rather than hardware.

While 1,500 is generally a good balance, with fewer image planes, system performance can be significantly increased. If you generally plan to work with relatively small data sets, it may be worth the effort of creating a FRELLED master file with, say, only 500 blanks instead of the default 1,500.


The second section allows you to append other potentially missing objects from another .blend file. For example there is a provided file, "MasterObjects.blend", in the ExtraScripts subdirectory (though you can use any file you like). This contains only a few objects : empties, a camera, and in particular a mesh with a special modifier setup that's used for the SumFlux script (this enables it to create a filled grid in an irregular shape). Specify the file using the file browser, then press "Append" to load the objects.

The button attempts to import ALL objects within the target .blend file. However, it is designed specifically to import the premade objects (excluding image planes) which FRELLED requires. To that end, all objects with names beginning '3D' are imported to the scene called '3D', and similarly for '2D'. Additionally, objects which are named 'MasterMainEmpty' and 'SpecialCubes' are placed on the 3D scene.
Any objects in the target file with a naming conflict in the current file are not imported, and a warning is printed to the terminal. 